Advanced js and react questions, like:
1. For a very expensive calculation - which hook you will select? useMemo, useCallback, useEffect
2. What is most close to act like HashSet - Objects / Array / Symbol
3. what will render a component?
a.
b. () =>
c. MyComp
d. MyComp({})
4. display simple code in js, and you have to say which line will throw an error
5. What will cause render of component? Parent render, child render, sibling render, state change